<?php
namespace Api\Controller;
use Api\Controller\CommonController;
class ClassifyController extends CommonController {
    public function index(){
		
    }
    
    public function classifyList(){
		
		$where = array();
		$list = D("Classify")->where($where)->order('sort')->limit(12)->select();
		foreach($list AS $key=>$value){
			$list[$key]['img']=C('IMG_DOMAIN').$value['img'];
		}
    	$this->_returnJson(array("result"=>1,"list"=>$list));
    }
    
    
}